package com.huatai.exchange.bootup.controller;

import com.faneui.common.bean.FaneuiBaseResp;
import com.faneui.common.exception.BusinessException;
import com.huatai.exchange.facade.FileCreateCenterController;
import com.huatai.exchange.service.FileCreateCenterService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 文件制造中心
 */
@RestController
@RequestMapping(value = "file")
@Api("文件制造中心")
public class FileCreateCenterControllerImpl extends AbstractRestController implements FileCreateCenterController {

    @Autowired
    private FileCreateCenterService fileCreateCenterService;

    @RequestMapping(value = "/check", method = RequestMethod.GET)
    @ResponseBody
    public FaneuiBaseResp checkCreateAndDownloadFile(String fileId, String jsonStr) throws BusinessException {

        return null;
    }

    @RequestMapping(value = "/download", method = RequestMethod.GET)
    @ResponseBody
    public void downloadFile(String fileId, String jsonStr) throws BusinessException {

    }
}
